package o2o.dao.PO.shop;

import javax.persistence.Entity;

//店铺属性可预约时间段

@Entity
public class ShopSpecsTimes {
    private Long id;
    private Long shopId;//店铺Id
    private Long specsId;//类型Id
    private Long specsTypeId;//店铺属性类别id
    private String workTime;//图片分类描述

    private Integer isUsed;//是否在使用中  1使用中，0未使用


    private int delFlag;// 是否已删除(0未删除,1已删除)
    private String createUser;// 创建者
    private long createTime;// 创建日期 141231212423423时间戳毫秒级标识

    private Double price;//价格
    private Double originalPrice;

    public ShopSpecsTimes() {
    }

    public ShopSpecsTimes(Long shopId,  Long specsTypeId, Long specsId,String workTime, String createUser, long createTime) {
        this.shopId = shopId;
        this.specsId = specsId;
        this.specsTypeId = specsTypeId;
        this.workTime = workTime;
        this.isUsed = 0;
        this.createUser = createUser;
        this.createTime = createTime;
        this.delFlag = 0;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }


    public int getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(int delFlag) {
        this.delFlag = delFlag;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }


    public Long getSpecsId() {
        return specsId;
    }

    public void setSpecsId(Long specsId) {
        this.specsId = specsId;
    }

    public Long getSpecsTypeId() {
        return specsTypeId;
    }

    public void setSpecsTypeId(Long specsTypeId) {
        this.specsTypeId = specsTypeId;
    }

    public String getWorkTime() {
        return workTime;
    }

    public void setWorkTime(String workTime) {
        this.workTime = workTime;
    }

    public Integer getIsUsed() {
        return isUsed;
    }

    public void setIsUsed(Integer isUsed) {
        this.isUsed = isUsed;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(Double originalPrice) {
        this.originalPrice = originalPrice;
    }
}
